package org.dtrd.modules.device.entity.bean.weice;

import lombok.Data;

/**
 * 反馈微策
 */
@Data
public class WeiceResponse {

    private Integer code;

    private String msg;


    public void success() {
        code = 0;
    }

    public void failure(int code , String msg) {
        this.code = code;
        this.msg = msg;
    }

    public void onSignatureFailure(String msg) {
        code = 1;
        this.msg = msg;
    }
}
